﻿using System;
using System.Threading.Tasks;

namespace Mt.Site.Core.Synchronization.Navigations
{
    public interface IMenuAutoSyncManager
    {
        Task<Guid> UpdateMenuSync(MenuSyncArgs input);

        Task<Guid> DeleteMenuSync(MenuSyncArgs input);

        Task ResetMenuCacheAsync(int tenantId);

        void SyncRouteStr(Guid fromId, string fromLanguageName, Guid toId, int toTenantId, string toLanguageName);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="input"></param>
        /// <returns>返回栏目id</returns>
        Task<Guid> ConfigSync(MenuSyncArgs input);
    }
}
